namespace BSDS.Core.Infrastructure.Configuration
{
    public class BsdsConfiguration
    {
        public BingKeyLazyLoader BingKey { get; private set; }
        public string TempFolder { get; private set; }
        public bool DeleteTempFolderOnExit { get; private set; }
        public bool RequireExclusiveFolderAccess { get; private set; }

        public BsdsConfiguration(string bingKeyFilename, string tempFolder, bool deleteTempFolderOnExit, bool requireExclusiveFolderAccess)
        {
            BingKey = new BingKeyLazyLoader(bingKeyFilename);
            TempFolder = tempFolder;
            DeleteTempFolderOnExit = deleteTempFolderOnExit;
            RequireExclusiveFolderAccess = requireExclusiveFolderAccess;
       }
    }
}